package dp.decorator;

import dp.proxy.ISubject;

public class SubjectPreDecorator extends SubjectDecorator {
	

	public SubjectPreDecorator(ISubject subject) {
		super(subject);
	}

	@Override
	public void action() {
		preAction();
		super.action();
	}

	private void preAction() {
		System.out.println("SubjectPreDecorator.preAction()");
	}
}